package CircleAndCylinder;

public class Circle {
    private double radius;
    private double length;
    double s;


    public Circle(){
 this.radius=1;
    }

    public double getRadius() {
        return radius;
    }

   public double getS() {
      return s;
    }

//  public void setS(double s) {
//      this.s = s;
//   }

    public void setRadius(double radius) {
        this.radius = radius;
    }

    public Circle(double radius) {

        this.radius = radius;
    }
    public double findArea(){
        double pai=3.14;
        return pai*radius*radius;
//        System.out.println("圆的面积为"+s);

    }
}
